import type { App } from 'vue'

import {
  Layout,
  Modal,
  Table,
  Menu,
  Input,
  Form,
  Card,
  Checkbox,
  Radio,
  Col,
  Row,
  Select,
  DatePicker,
  Button
} from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'

export function setupAntDesign (app: App<Element>) {
  app.use(Layout)
  app.use(Modal)
  app.use(Table)
  app.use(Menu)
  app.use(Input)
  app.use(Form)
  app.use(Card)
  app.use(Checkbox)
  app.use(Radio)
  app.use(Col)
  app.use(Row)
  app.use(Select)
  app.use(DatePicker)
  app.use(Button)
}
